package com.game.core.resp;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 响应状态码
 * @author zhangquan
 *
 */
@Getter
@ToString
public enum ResponseCode {
	FAIL(0,1,"失败！"),
	TOKEN_INVALID(0,0,"请重新登录！"),
	SUCCESS(1,1,"成功"),
	TOKEN_Register(0,2,"你已经注册过了！"),
	TOKEN_NoRegister(0,3,"该手机号未注册！");
	private final int success;
	private final int status;
	private final String message;

	private ResponseCode(int success,int status,String message) {
		this.success = success;
		this.status = status;
		this.message = message;
	}
}
